package com.zheng.shop.rpc.api;

import com.zheng.common.base.BaseServiceMock;
import com.zheng.shop.common.exception.ShopException;
import com.zheng.shop.dao.mapper.ShopBrandMapper;
import com.zheng.shop.dao.model.ShopBrand;

import java.util.List;
import java.util.Map;

/**
* 降级实现ShopBrandService接口
* Created by shuzheng on 2017/11/7.
*/
public class ShopBrandServiceMock extends BaseServiceMock<ShopBrandMapper, ShopBrand> implements ShopBrandService {
    @Override
    public boolean createBrand(ShopBrand brand) throws ShopException {
        return false;
    }

    @Override
    public boolean updateBrand(ShopBrand brand) throws ShopException {
        return false;
    }

    @Override
    public boolean deleteBrand(List<Integer> ids) throws ShopException {
        return false;
    }

    @Override
    public boolean updateSort(List<ShopBrand> brandList) throws ShopException {
        return false;
    }

    @Override
    public int selectMaxSort() {
        return 0;
    }

    @Override
    public List<Map<String,Object>> selectBrandCategoryMap(Integer brandId) {
        return null;
    }

    @Override
    public boolean updateBrandCategory(Integer brandId, List<Integer> productCategoryIds)throws ShopException {
        return false;
    }
}
